package activity.view

import android.widget.CheckBox

class CheckBoxGroup2(val normal: CheckBox, val error: CheckBox) {
    companion object {
        const val Normal = 0x00
        const val Error = 0x01
    }

    fun setStatus(status: Int) {
        when (status) {
            Normal -> {
                normal.isChecked = true
                error.isChecked = false
            }

            Error -> {
                normal.isChecked = false
                error.isChecked = true
            }

        }
    }
}